﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MenuSystemSite.master" %>

<%--<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>--%>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <%--Creates the accordion--%>
    <script type="text/javascript">
        $(function () {
            $("#accordion").accordion();
        });
    </script>
    <link rel="stylesheet" href="../../Css/CssReferenceFileFromNewsCenter.css" />
    <%--Empty layout for the accordion--%>
    <div class="wrapper">
        <div id="accordion">
            <h3>
                <a href="#">Breakfast</a></h3>
                <div></div>
            <h3>
                <a href="#">Lunch</a></h3>
                <div></div>
            <h3>
                <a href="#">Dinner</a></h3>
                <div></div>
            <h3>
                <a href="#">3rd Shift</a></h3>
                <div></div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TemplateLeftNav" runat="server">
    <%--JS used to create the date picker--%>
    <script type="text/javascript">
        var currentTime = new Date();
        var month = currentTime.getMonth() + 1;
        var day = currentTime.getDate();
        var year = currentTime.getFullYear();
        var date = month + "/" + day + "/" + year;
        $(function () {
            $("#datepicker").datepicker().val(date.toString()).trigger('change');
        });
      
    </script>
    <%--Drop down menu for building--%>
    <form action="">
    <div class="filters">
        <div class="field">
            <label>
                Select A Location:</label>
            <%= Html.DropDownList("Buildings", (SelectList)ViewData["Buildings"], new { style = "width:200px;", onchange = "UpdateReport(this)" })%>
        </div>
    </div>
    </form>
    <%--Script to load Menu.aspx HARDCODED--%>
    <script language="JavaScript" type="text/javascript">
        function changeURL() {
            location.href = "Home/Menu?cafe='Prisms'&date=3-4-55";
        }
    </script>
    <%--Drop down menu for Cafeteria--%>
    <form action="">
    <div class="filters">
        <div class="field">
            <label>
                Select A Cafeteria:</label>
            <%= Html.DropDownList("Cafes", (SelectList)ViewData["Cafes"], new { style="width:200px;", onchange = "changeURL();" }) %>
        </div>
    </div>
    <br />
    </form>
    <%--Field for date picker--%>
    <div class="demo">
        <br />
        <p>
            Search by Date (mm/dd/yyyy):
            <input type="text" id="datepicker" /></p>
    </div>
</asp:Content>
<%--DO NOT USE--%>
<asp:Content ID="Content3" ContentPlaceHolderID="TemplateRightNav" runat="server">
</asp:Content>
